<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改用户</title>
<link href="/res/css/style.css" rel="stylesheet" type="text/css" />
<!-- <link href="/res/css/select.css" rel="stylesheet" type="text/css" /> -->
<script type="text/javascript" src="/res/js/jquery.js"></script>
<!-- <script type="text/javascript" src="/res/js/select-ui.min.js"></script> -->
<script type="text/javascript" src="/res/js/lib/formvalid/FormValid.js"></script>
<link href="/res/js/lib/layer/skin/layer.css" rel="stylesheet" type="text/css" />
<link href="/res/js/lib/layer/skin/layer.ext.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/res/js/lib/layer/layer.js"></script>
<script type="text/javascript" src="/res/js/common/msgTools.js"></script>
<script type="text/javascript" src="/res/js/pages/merchant/merchantEdit.js"></script>
<script type="text/javascript" src="/res/js/common/regionSelect.js"></script>
<style>
.uew-select {
    display: block;
    float: left;
    margin-right:10px;
}
select{border:1px solid #ccc;font-size:14px;line-height: 26px;padding:6px 3px;}
</style>
<script type="text/javascript">
/* 	$(document).ready(function(e) {
		$("select").uedSelect({});
	}); */
</script>
</head>

<body style="overflow-x:hidden;">
	<div class="formbody">

		<form action="/partner/edit/save" method="post" onsubmit="return checkData(this)">
			<div id="tab1" class="tabson">
				<input type="hidden" name="id" value="${part.id }"/>
				
				<ul class="forminfo">
					<li><label>用户名<b></b></label><label>${part.userName}</lable></li>
					<li><label>手机号<b></b></label><label>${part.mobile}</lable></li>
					<li><label>合作伙伴姓名<b></b></label>
                        <input name="realName" value="${part.realName}" valid="required" type="text" class="dfinput" style="width:150px;" />
					    <span id="errMsg_merchantName" class="errMsg">商户全称为2~50个字符</span> 
					</li>				
					<li><label>合伙人等级<b>*</b></label>
						<div class="vocation">
							<select name="partnerLevel" width="130">
							   <option value="">==请选择商家类型==</option>
							   <c:forEach items="${levelList}" var="level">							      
							      <option value="${level.id}" ${part.partnerLevel==level.id?"selected":""}>${level.name}</option>
							   </c:forEach>							
							</select>							
						</div>
					</li>
					<li><label>所属地区<b>*</b></label> 
						<div id="dvRegion" class="vocation" style="display:block;float:left; white-space: nowrap;">
							<select name="province" width="130"> 
							   <option value="">==请选择省份==</option>
							   <c:forEach items="${provList}" var="pro">
							      <option value="${pro.id}" ${part.province==pro.id?"selected":""}>${pro.name}</option>
							   </c:forEach>
							</select>

							<select name="city" width="130">
							   <option value="">==请选择城市==</option>
							   <c:forEach items="${cityList}" var="city">
							      <option value="${city.id}" ${part.city==city.id?"selected":""}>${city.name}</option>
							   </c:forEach>							
							</select>

							<select name="area" width="130">
							   <option value="">==请选择县区==</option>
							   <c:forEach items="${areaList}" var="area">							      
							      <option value="${area.id}" ${part.area==area.id?"selected":""}>${area.name}</option>
							   </c:forEach>							
							</select>
						</div>		
					</li>						
					<li style="padding-top:50px;"><label>&nbsp;</label> <input type="submit" class="btn" value="保 存" /></li>
				</ul>				
				
			</div>
		</form>
	</div>
	${actionMsg}
</body>

</html>


